/*    */ package com.finir.fakturisanje.forms;
/*    */ 
/*    */ import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DateFormat;
import java.util.Date;

import javax.swing.JLabel;
import javax.swing.Timer;
/*    */ 
/*    */ public class DateLabel extends JLabel
/*    */   implements ActionListener
/*    */ {
/*    */   private static final long serialVersionUID = 1L;
/*    */ 
/*    */   public DateLabel()
/*    */   {
/* 23 */     super();
/* 24 */     Timer t = new Timer(1000, this);
/* 25 */     t.start();
/*    */   }
/*    */ 
/*    */   public void actionPerformed(ActionEvent ae)
/*    */   {
/* 32 */     setText("DATUM: " + DateFormat.getDateInstance().format(new Date()));
/*    */   }
/*    */ }

